package com.chinasoft.maysham.manager.service.project;

import com.chinasoft.maysham.manager.model.Project;
import com.chinasoft.maysham.manager.model.ProjectUser;
import com.chinasoft.maysham.manager.request.InviteReq;

public interface ProjectUserService {
    void initByProject(Project save, String userId);

    void unRegisterUser(String userId);

    /**
     * 邀请成员
     * @param inviteReq inviteReq
     * @param userId userId
     * @return result
     */
    ProjectUser invite(InviteReq inviteReq, String userId);
}
